@import url("page-common.css");

.sungui-admin-layout {
    display: flex;
    flex-direction: row;
    height: calc(100vh);
}
.sungui-admin-layout-side {
    width: 150px;
    background-color: #20222A !important;
    color: rgba(255,255,255,.8);
}
.sungui-admin-layout-main {
    flex: 1;
    background-color: coral;
}
.sungui-admin-layout-side, .sungui-admin-layout-main {
    height: 100%;
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
}
.sungui-admin-layout-side-header {
    background-color: #1C86EE;
    font-weight: normal;
    white-space: nowrap;
}
.sungui-admin-layout-side-content{
    flex: 1;
}
.sungui-admin-layout-main-header {
    background-color: #fff;
}
.sungui-admin-layout-main-content {
    padding: 10px;
    overflow-y: scroll;
    flex: 1;
}
.sungui-admin-layout-side-header, .sungui-admin-layout-main-header {
    height: 50px;
    line-height: 50px;
    padding-left: 10px;
}
.sungui-admin-layout-side-small {
    width: 48px;
}
.sungui-admin-layout-side-small > .sungui-admin-layout-side-content > .sungui-admin-nav-tree a > span {
    display: none;
}
/* .admin-layout-side-small > .admin-layout-side-content > .admin-nav-tree > .admin-nav-item > a > span {
    display: none;
} */
.sungui-admin-layout-main-big {
    left: 48px;
}
.sungui-admin-nav-tree {
    /*line-height: 10px;*/
}
.sungui-admin-nav-item {
    line-height: 45px;
}
.sungui-admin-layout-side-content > .sungui-admin-nav-tree > .sungui-admin-nav-item > a {
    padding-left: 10px;
}
.sungui-admin-nav-item > a > i {
    margin-right: 10px;
}
.sungui-admin-nav-item > a {
    color: #EEE9E9;
    display: block;
    font-weight: normal;
    white-space: nowrap;
    overflow: hidden;
    /*transition: .3s linear;*/
}
.sungui-admin-nav-item > a:hover {
    background-color: #282828;
    /*border-left-style: solid;
    border-left-width: 3px;
    border-left-color: #1C86EE;*/
}